package com.hjb.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author HuJiaBing
 * @date 2025/7/10 15:14
 * @description
 */

@Data
@Component
@ConfigurationProperties(prefix = "spring.test")
@EnableConfigurationProperties(TestProperty.class)
public class TestProperty {
    private String name;
    private String age;
}
